package com.burgeon.backend.Controller;

import com.burgeon.backend.service.MessageTemplateService;
import com.burgeon.backend.stsutil.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class TestController extends BaseController {
    @Autowired
    private MessageTemplateService messageTemplateService;

    @RequestMapping("test1")
    public ResponseResult<String> test(){
        messageTemplateService.SendMessageForConsumption("lfwd","oqjs352TaoqrRJ4FEVuSFbXkvj8A",
                "RE2010200000007","17732141036","20200101");
        return new ResponseResult<>(SUCCESS);
    }


}
